Search Results
Unix & Linux: Delete all lines except first occurrence
Unix & Linux: Deleting all lines after first occurrence of a string in a line
Unix & Linux: How to delete all the lines in a UNIX file except first and last line?
Unix & Linux: Delete up to first occurrence, edit that line and print the remaining lines unchanged
Unix & Linux: Delete groups of lines that have the same first line, except for the first occurence
Unix & Linux: sed: delete all occurrences of a string except the first one (4 Solutions!!)
Unix & Linux: Remove duplicate lines from a file but leave 1 occurrence (4 Solutions!!)
Unix & Linux: Remove commented lines except one comment using sed
Week 7 Review
Unix & Linux: How do I remove all but the last occurrence of a string? (2 Solutions!!)
Unix & Linux: Remove all the lines before the first line that contains a match? (3 Solutions!!)
Unix & Linux: How do I delete the first n lines and last line of a file using shell commands?